#version 300 es
layout (location = 0x001) in vec3 pos;
layout (std140) uniform MATRIX
{
    mat4 v_matrix;
    mat4 p_matrix;
};
/*也可使用下面结构
layout (std140) uniform MATRIX
{
    mat4 v_matrix;
    mat4 p_matrix;
}matrix;
*/
void main(void) {
    gl_Position = vec4(pos, 1.0f);
}